//
//  NvMusicSelectionViewController.h
//  NvSellerShow
//
//  Created by dx on 17/2/7.
//  Copyright © 2017年 Meicam. All rights reserved.
//  选择音乐界面

#import "MusicManager.h"
#import <UIKit/UIKit.h>

@protocol NvMusicSelectionViewControllerDelegate<NSObject>
@optional
-(void)didFinishSelectMusic: (NSString*) songTitle MusicUrl:(NSString*) songUrl StartTime:(NSNumber *) startTime EndTime:(NSNumber *) endTime;
@end


@interface NvMusicSelectionViewController : UIViewController<UITableViewDataSource,UITableViewDelegate>
@property(nonatomic,weak)id<NvMusicSelectionViewControllerDelegate>delegate;
@property (weak, nonatomic) IBOutlet UIView *collectionView;
@property (weak, nonatomic) IBOutlet UIView *tableView;
@property (weak, nonatomic) IBOutlet UITableView *localMusicTableView;
@property (nonatomic, strong) NSDictionary *localMusicDic;
@property (nonatomic, strong) NSMutableArray *keys;
@property (weak, nonatomic) IBOutlet UILabel *musicTitleLabel;
@property (weak, nonatomic) IBOutlet UILabel *curLabel;
@property (weak, nonatomic) IBOutlet UILabel *durationLabel;
- (IBAction)selectBtnPressed:(id)sender;

@property (nonatomic, strong) NSString *songTitle;
@property (nonatomic, strong) NSString *songURL;
@property (nonatomic, strong) NSNumber *startTime;
@property (nonatomic, strong) NSNumber *endTime;


@end
